﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PHMEE
{
    public class UnitPowerCurrentModel
    {
        /// <summary>
        /// 主发电机功率时间戳
        /// </summary>
        public DateTime? PowerTs { get; set; }

        /// <summary>
        /// 主发电机功率Td原始值
        /// </summary>
        public float? PowerOrg { get; set; }

        /// <summary>
        /// 主发电机功率
        /// </summary>
        public string Power => PowerOrg?.ToString();

        /// <summary>
        /// 最大功率（额定功率）
        /// </summary>
        public double? MaxPower { get; set; }

        /// <summary>
        /// 主发电机电流时间戳
        /// </summary>
        public DateTime? CurrentTs { get; set; }

        /// <summary>
        /// 主发电机电流Td原始值
        /// </summary>
        public float? CurrentOrg { get; set; }

        /// <summary>
        /// 主发电机电流
        /// </summary>
        public string Current => CurrentOrg?.ToString();

        /// <summary>
        /// 最大电流（额定电流）
        /// </summary>
        public double? MaxCurrent { get; set; }

    }
}
